const mongoose = require('mongoose')

// 创建用户表基本的数据模型
module.exports = mongoose.model('users', new mongoose.Schema({
  username: String,
  password: String,
  comfirm_pwd: String,
  create_time: Number,
  email: String,
  telephone: String,
  role: String,
  avator: String,
  nick_name: String
}))
